package com.tommy.foreground.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Accessors(chain = true)
@Data
@ApiModel(value = "商品类")
public class Item {

    @ApiModelProperty(value = "商品 ID")
    private Long id;

    private String title;

    private String sellPoint;

    private Long price;

    @ApiModelProperty(value = "数目")
    private Integer num;

    private String barcode;

    private String image;

    private Long cid;

    private Byte status;

    private Date created;

    private Date updated;

}